﻿<div class="leftMenu">
    @foreach (var data in (List<tb_left_navigation>)ViewData["LeftNavigation"])
    {
        <a href="@(((tb_left_navigation)data).Url)"><div class="leftMenuTitle">@(((tb_left_navigation)data).GetTitle())</div></a>
        <ul>
            @foreach (var subdata in ViewHelper.GetSubLeftNavigation((List<tb_left_navigation>)ViewData["SubLeftNavigation"], data.Id))
            {
                <li><a href="@subdata.Url">@(((tb_left_navigation)subdata).GetTitle())</a></li>
            }
            <li class="splitGap"></li>
        </ul>
    }
</div>
